<%@page import="com.omazan.db.HandleAdmins"%>
<%@page import="com.omazan.db.models.Administrator"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Manage Users</title>
</head>
<body>
	<div class="right-panel">
		<div class="right-panel-in">
		<table>
		<tr>
					<td>ID</td>
					<td>Name</td>
				</tr>

			<%
				

					List<Administrator> listOfAdmins = new HandleAdmins()
							.readAllAdminsFromDB();

					for (Administrator eachAdmin : listOfAdmins) {
			%>

			
				
				<tr> <td> <%= eachAdmin.getAdminId()%></td>
				<td> <%= eachAdmin.getFirstName() + "  " + eachAdmin.getLastName()%> </td>
                <td> <a href="index.jsp">delete</a></td>
				</tr>


			</table>
			<%
				}
				
			%>

			<div class="vline">
				<div class="section1">

					

</div>
<div class="section2">


</div>
</div>
</div>
</div>
</body>
</html>